@extends('layout.master')
@section('content')
    <div class="widget-body am-fr">

        <form class="am-form tpl-form-border-form tpl-form-border-br" action="/guanliyuan/{{$user->id}}" method="post">
            <input type="hidden" name="_method" value="PATCH">
            {!! csrf_field() !!}
            <div class="am-form-group">
                <label for="user-weibo" class="am-u-sm-3 am-form-label">用户名 <span class="tpl-form-line-small-title">name</span></label>
                <div class="am-u-sm-9">

                    <input type="text" name="name" id="user-weibo" placeholder=""  value="{{$user->name}}" disabled>

                    <div>

                    </div>
                </div>
            </div>
            <div class="am-form-group">
                <label for="user-weibo" class="am-u-sm-3 am-form-label">密码 <span class="tpl-form-line-small-title">pass</span></label>
                <div class="am-u-sm-9">
                    <input type="password" name="password" id="user-weibo" placeholder="{{$user->password}}">
                    <div>

                    </div>
                </div>
            </div>
            <!--   <div class="am-form-group">
                  <label for="user-weibo" class="am-u-sm-3 am-form-label">确认密码 <span class="tpl-form-line-small-title">pass</span></label>
                  <div class="am-u-sm-9">
                      <input type="password" name="password_confirmation" id="user-weibo" placeholder="请再次输入密码">
                      <div>

                      </div>
                  </div>
              </div> -->
            <div class="am-form-group">
                <label for="user-weibo" class="am-u-sm-3 am-form-label">权限<span class="tpl-form-line-small-title">nick</span></label>
                <div class="am-u-sm-9">
                    <input type="text" name="nickName" id="user-weibo" placeholder="{{$user->nickName}}">
                    <div>

                    </div>
                </div>
            </div>
            <div class="am-form-group">
                <label for="user-weibo" class="am-u-sm-3 am-form-label">邮箱 <span class="tpl-form-line-small-title">email</span></label>
                <div class="am-u-sm-9">
                    <input type="email" name="email" id="user-weibo" placeholder="{{$user->email}}">
                    <div>
                    </div>
                </div>
            </div>

            <div class="am-form-group">
                <label for="user-weibo" class="am-u-sm-3 am-form-label">手机 <span class="tpl-form-line-small-title">phone</span></label>
                <div class="am-u-sm-9">
                    <input type="text" name="phone" id="user-weibo" placeholder="{{$user->phone}}">
                    <div>

                    </div>
                </div>
            </div>
            <div class="am-form-group">
                <div class="am-u-sm-9 am-u-sm-push-3">
                    <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                </div>
            </div>
        </form>
    </div>
@endsection